package il.yifanantonio.tagsonomy;

import java.io.Serializable;
import java.util.List;
import java.util.logging.Logger;


public class Initiative implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	String name;
	String url;
	List<String> keywords;
	
	public Initiative(String name, String url, List<String> keywords) {
		super();
		this.name = name;
		this.url = url;
		this.keywords = keywords;
	}
	public boolean addKeyword(String keyword) {
		return keywords.add(keyword);
	}
	public Initiative(String name, List<String> keywords) {
		super();
		this.name = name;
		this.keywords = keywords;
	}

	@Override
	public String toString() {
		return "Initiative [name=" + name + ", keywords=" + keywords + ", url="
				+ url + "]";
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public List<String> getKeywords() {
		return keywords;
	}
	public void setKeywords(List<String> keywords) {
		this.keywords = keywords;
	}
}
